io/fs.dirInfo.IsDir (method, view implemented interface methods) one use io/fs (current package) readdir.go#L57: func (di dirInfo) IsDir() bool {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)